#include <cstdio>

int main() {
    const int MAX = 500;
    int N, M, C1, C2;
    int rescueTeam[MAX+10];
    scanf("%d%d%d%d", &N, &M, &C1, &C2);
    for (int i = 0; i < N; i++) {
        scanf("%d", &rescueTeam[i]);
    }
    

    return 0;
}